package com.cloudbroker.bcs.platform.dav.bizapi.service.viewpoint.vo;

import com.cloudbroker.bcs.common.util.DateTimeUtil;
import com.cloudbroker.bcs.common.validatioin.annotation.DateValue;
import com.cloudbroker.bcs.common.validatioin.annotation.EnumValue;
import com.cloudbroker.bcs.common.validatioin.annotation.Length;
import com.cloudbroker.bcs.platform.dav.bizapi.service.base.vo.ListQueryVO;

public class HistoryRecordForm extends ListQueryVO {
	
	private static final long serialVersionUID = 2224893683670740384L;
	
	@Length(max = 20)
	protected String key_word;
	
	//@NotBlank
	@DateValue(pattern = DateTimeUtil.FORMAT_YYYYMMDDHHMMSS)
	protected String start_time;
	
	protected String tag_id;
	
	//@NotBlank
	@DateValue(pattern = DateTimeUtil.FORMAT_YYYYMMDDHHMMSS)
	protected String end_time;
	
	//@NotBlank
    @EnumValue(enums = {"0","1","2","3"})
	protected String qry_type;

	public String getKey_word() {
		return key_word;
	}

	public void setKey_word(String key_word) {
		this.key_word = key_word;
	}

	public String getTag_id() {
		return tag_id;
	}

	public void setTag_id(String tag_id) {
		this.tag_id = tag_id;
	}

	public String getStart_time() {
		return start_time;
	}

	public void setStart_time(String start_time) {
		this.start_time = start_time;
	}

	public String getEnd_time() {
		return end_time;
	}

	public void setEnd_time(String end_time) {
		this.end_time = end_time;
	}

	public String getQry_type() {
		return qry_type;
	}

	public void setQry_type(String qry_type) {
		this.qry_type = qry_type;
	}

	@Override
	public String toString() {
		return "HistoryRecordForm [key_word=" + key_word + ", start_time="
				+ start_time + ", tag_id=" + tag_id + ", end_time=" + end_time
				+ ", position_str=" + position_str + ", qry_type=" + qry_type 
				+  ", request_num="	+ request_num + "]";
	}

}
